package com.ganbo.redpacket.model.requset;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 发送包
 * Created by gan on 2020/1/12 15:08.
 */

@Data
public class HandOutReq {

    @NotNull(message = "当前发红包用户id不能为空")
    private Integer userId;

    @NotNull(message = "指定红包个数不能为空")
    private Integer total;

    @NotNull(message = "指定总金额(单位为分)不能为空")
    private Integer amount;

}
